<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<title>车辆年代选择</title>
	<link rel="stylesheet" type="text/css" href="{:C('WEB_URL')}Public/css/base.css">
	<link rel="stylesheet" type="text/css" href="{:C('WEB_URL')}Public/mobile/css/master.css">
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?11ad56ca0738ac14d150a362fca3e058";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>
<body>
	<div class="main" id="carAge">
		<header>
			<p>车辆年代选择</p>
			<a href="javascript:history.go(-1)"><i class="back"></i></a>
		</header>
		<div class="wrap">
			<div class="locationBanner">
				{$headURL}
			</div>
			<ul class="list noImg">
				<?php foreach($list as $value){ 
					?>
				<li onclick=selauto({$value['model_id']});>
					<span>{$value['model_year']} 年</span>
					<i class="arrow"></i>
				</li>
				<?php }?>
			</ul>
		</div>
	</div>
<script type="text/javascript">
	//选中车型
	function selauto(id){
		window.location.href="{:U('form');}?autoId="+id;
	}

</script>
</body>
</html>